GetWorkstsationControl(string,Control,object[]) Method

Summary
Creates a UI medical workstation control by a given name.
Syntax
C#
C++/CLI
public Control GetWorkstsationControl( 
   string name, 
   Control defaultControl, 
   object[] args 
) 
public:  
   Control^ GetWorkstsationControl( 
      String^ name, 
      Control^ defaultControl, 
      array<Object^>^ args 
   ) 

Parameters

name
The name of the control to look at its actual type to create.

defaultControl
The default System.Windows.Forms.Control to return if the specified  name was not mapped to a control.

args
An array of System.Object used to initalize the created control.

Return Value

The requested medical workstation control.

Remarks

All UI controls in the Medical Workstation are created using this function. This allows developers to override the default controls with their own custom controls. The  name parameter is actually the class name of the control.

To provide your own type of a control. All you need to do is to update the WorkstationUISettings section in the application configuration file with the original controls name and the new type you want to use for that control.

Requirements

Target Platforms

Help Version 22.0.2023.2.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.